obj-m := selfprobe.o 
selfprobe-objs := self_probe.o scan_task.o
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
default: build partclean
build:
	$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
partclean:
	rm -f *.mod.c *.o .*.cmd
	rm -rf .tmp_versions
	rm -rf Module.*
clean: partclean
	rm -f *.ko
